Skip to content

Fix surface closing event#445

Open
Ph4ntomas wants to merge 3 commits intopinnacle-comp:mainfrom
Ph4ntomas:fix-surface-closing-event
Open

Fix surface closing event#445
Ph4ntomas wants to merge 3 commits intopinnacle-comp:mainfrom
Ph4ntomas:fix-surface-closing-event

Conversation

@Ph4ntomas
Copy link
Copy Markdown
Contributor

For some reason I assumed widget event stream would closed when the associated sender is droped.

Since it's not the case, we need to send the closing event when the surface is dropped by server.

@Ph4ntomas Ph4ntomas marked this pull request as draft March 30, 2026 00:02
@Ph4ntomas
Copy link
Copy Markdown
Contributor Author

Ph4ntomas commented Mar 30, 2026

This is currently rebased on top of #444, but I'll rebase it properly later and remove the draft.

@Ph4ntomas Ph4ntomas force-pushed the fix-surface-closing-event branch from fb94ca7 to 956533e Compare March 30, 2026 07:04
@Ph4ntomas Ph4ntomas marked this pull request as ready for review March 30, 2026 07:07
@Ph4ntomas
Copy link
Copy Markdown
Contributor Author

This works well, but I wonder if I should expand on the lua side of things.

As far as I can tell, the widget stream is kept open indefinitely.

OTOH, this is ready to go, so maybe looking into that can be pushed to a later date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant